import request from '@/utils/request'
import { Form } from 'element-ui';

/* ***************   前期测绘机构选取    *************** */

//获取前期测绘选择方式
export function get_early_choose_way() {
    return request({
      url: '/pc/early_mapping/05_get_early_choose_way',
      method: 'POST',
      //data: params
    })
}
//获取所有已经注册的测绘机构
export function list_registered_enterprise() {
  return request({
    url: '/pc/early_mapping/02_list_registered_enterprise',
    method: 'POST',
    //data: params
  })
}
//查询前期测绘机构人员信息
export function get_early_people_info(data) {
    return request({
      url: '/pc/early_mapping/04_query_early_mapping_staffs',
      method: 'POST',
      formData: data
    })
}
//查询前期测绘机构详情
export function get_early_mapping_details(data) {
    return request({
      url: '/pc/early_mapping/04_get_early_mapping_details',
      method: 'POST',
      formData: data
    })
}

//提交已经选择的测绘机构信息
export function commit_organization(data) {
    return request({
      url: '/pc/early_mapping/03_commit_organization',
      method: 'POST',
      data
    })
}

/* ***********   项目组装确认   ***********   */

//项目正式组装确认
export function confirm_project_formal_assembly(data) {
  return request({
    url: '/pc/project/early_mapping_result/assembly_confirm/01_confirm_project_formal_assembly',
    method: 'POST',
    formData: data
  })
}
//项目正式组装-------重新调整项目
export function get_project_complete_info(data) {
  return request({
    url: '/pc/project/early_mapping_result/assembly_confirm/02_readjustment_project',
    method: 'POST',
    formData: data
  })
}
//项目正式组装-------删除项目片块信息
export function delete_project_land(data) {
  return request({
    url: '/pc/project/early_mapping_result/assembly_confirm/03_delete_project_land',
    method: 'POST',
    formData: data
  })
}

/* ***********    项目告知   ***********   */

//项目告知-------综合监理信息
export function supervising(data) {
  return request({
    url: '/pc/project/notification/supervising',
    method: 'POST',
    formData: data
  })
}

